package com.huajiao.management_system.dao;

import com.huajiao.management_system.bean.competitionRes;
import com.huajiao.management_system.util.PageQueryUtil;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
public interface competitionResMapper {

    List<competitionRes> selectByType(Map map);

    List<competitionRes> selectByKeyword(Map map);

    int insertSelective(competitionRes competitionres);

    int updateByPrimaryKeySelective(competitionRes competitionres);

    int deleteBatch(Integer[] ids);

    int getTotal(Map map);

    int getTotalcompetitionRes(Map map);

    List<competitionRes> getAll();
}
